﻿using System;

namespace Ayatta.Contract.Domain
{
    /// <summary>
    /// 评价
    /// </summary>
    public class ProductReview : BaseEntity<long>
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }

        /// <summary>
        /// 商品Id
        /// </summary>
        public int ItemId { get; set; }

        /// <summary>
        /// 满意度 1-5
        /// </summary>
        public byte Satisfaction { get; set; }

        /// <summary>
        /// 信息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 图片URL
        /// </summary>
        public string Pictures { get; set; }

        /// <summary>
        /// 有用
        /// </summary>
        public int Useful { get; set; }

        /// <summary>
        /// 状态:Pending 待处理,Approved 经过检验的,Denied 已屏蔽,Deleted 已删除
        /// </summary>
        public ProductReviewStatus Status { get; set; }

    }
}